package com.lbd99.data.lbd.dao;

import java.util.Map;

import com.lbd99.data.lbd.vo.TUserOrderRelation;

public interface TUserOrderRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TUserOrderRelation record);

    int insertSelective(TUserOrderRelation record);

    TUserOrderRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TUserOrderRelation record);

    int updateByPrimaryKey(TUserOrderRelation record);

    Map selectOtherUserId(Map map);

    int updateByUserIdAndOrderId(TUserOrderRelation record);

	Integer hasTradingOrderByUserId(int id);

	Integer tradeCountToday(Map<String, Object> map);

	Integer tradeCountWeek(Map<String, Object> map);
}